package com.yt.sys.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统权限信息VO
 *
 * @author zhou
 * @Date 2025-09-03 15:12:37
 */
@Data
public class SysPermissionVO implements Serializable {
    @ApiModelProperty(value = "权限id")
    private Long id;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "权限名称")
    private String permissionName;
    @ApiModelProperty(value = "权限编码")
    private String permissionCode;
    @ApiModelProperty(value = "权限类型（0菜单 1按钮 2接口）")
    private Integer type;
    @ApiModelProperty(value = "访问地址")
    private String url;
    @ApiModelProperty(value = "状态（0启用，1禁用）")
    private Integer status;
    @ApiModelProperty(value = "勾选情况（0勾选，1未勾选）")
    private Integer selected;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
